<div id="sidebar">
	<ul>
		<li><c:choose>
				<c:when test="${path eq '/inventarproduse.jsp'}">
					<div id="search">
						<form method="post" action="searchstock.do" name="searchform">
							<div>
								<input type="text" name="searchvalue" id="search-text" value="" /> <input type="submit"
									id="search-submit" value="GO" />
							</div>
						</form>
					</div>
				</c:when>
				<c:when test="${path eq '/inventarcocktail.jsp'}">
					<div id="search">
						<form method="post" action="searchcocktail.do" name="searchform">
							<div>
								<input type="text" name="searchvalue" id="search-text" value="" /> <input type="submit"
									id="search-submit" value="GO" />
							</div>
						</form>
					</div>
				</c:when>
				<c:otherwise>
				</c:otherwise>
			</c:choose>


			<div style="clear: both;">&nbsp;</div></li>
		<li>
			<h2>Aliquam tempus</h2>
			<p>Mauris vitae nisl nec metus placerat perdiet est. Phasellus dapibus semper consectetuer hendrerit.</p>
		</li>

		<li>
			<h2>Categories</h2>
			<ul>
				<c:forEach items="${tree.root.children}" var="firstlevelitems">
					<c:set var="firstlevelitemslinkreal" value="/${firstlevelitems.data.linkReal}" />
					<c:if test="${foundparentlink eq firstlevelitems.data.linkReal}">
						<c:forEach items="${firstlevelitems.children}" var="secondlevelitems">
							<li><a href="${secondlevelitems.data.link}">${secondlevelitems.data.name}</a></li>
						</c:forEach>
					</c:if>
				</c:forEach>
			</ul>
		</li>
	</ul>
</div>